xenoprof: convert the file to use typesafe MFN
authorJulien Grall <julien.grall@linaro.org>
Mon, 9 Oct 2017 11:26:35 +0000 (13:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 9 Oct 2017 11:26:35 +0000 (13:26 +0200)
commite7ca8ad0014b8d21761440e502166f525f8951c1
treeaf40b598653cdee52c36e4f7848632b34db2c4ef
parente7c9678259b134e9b7d999950603208fd490c8d0
xenoprof: convert the file to use typesafe MFN

The file common/xenoprof.c is now converted to use typesafe. This is
requiring to override the macros virt_to_mfn and mfn_to_page to make
them work with mfn_t.

Also, add a couple of missing newlines in the code modified.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/xenoprof.c